package com.ruoyi.statistics.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

public class ProductStatistics extends BaseEntity {

    private String endTime;
    private String beginTime;

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    /**
     * 创建人的deptId
     */
    private Long deptId;

    /**
     * 客户的companyId
     */
    private Long companyId;

    /**
     * 客户的userId
     */
    private Long userId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;

    /**
     * 产品名称
     */
    @Excel(name = "规格/型号")
    private String productType;

    /**
     * 产品销售数量
     */
    @Excel(name = "产品销售数量")
    private int sumNum;

    /**
     * 总金额
     */
    @Excel(name = "总金额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal total;

    /**
     * 含税金额
     */
    @Excel(name = "含税金额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal taxTotal;


//    private String modelCode;
//
//    private Date saleorderData;
//
//    public String getModelCode() {
//        return modelCode;
//    }
//
//    public void setModelCode(String modelCode) {
//        this.modelCode = modelCode;
//    }
//
//    public Date getSaleorderData() {
//        return saleorderData;
//    }
//
//    public void setSaleorderData(Date saleorderData) {
//        this.saleorderData = saleorderData;
//    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public int getSumNum() {
        return sumNum;
    }

    public void setSumNum(int sumNum) {
        this.sumNum = sumNum;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getTaxTotal() {
        return taxTotal;
    }

    public void setTaxTotal(BigDecimal taxTotal) {
        this.taxTotal = taxTotal;
    }
}
